package com.price.httplib.interceptor

import okhttp3.Interceptor
import okhttp3.Request
import okhttp3.Response

class CommonRequestInterceptor() : Interceptor {

    override fun intercept(chain: Interceptor.Chain): Response {
        val builder: Request.Builder = chain.request().newBuilder()

        builder.addHeader("X-Platform", "Android")
        builder.addHeader("Connection", "Keep-Alive")

        return chain.proceed(builder.build())
    }
}